package com.kaikeba.bean;

public class Message {

    /**
     * JSON格式：
     * {
     *     status: 0,
     *     result: "",
     *     object: {}
     * }
     */

    //状态码
    private int status;
    //消息内容
    private String result;
    //消息携带内容
    private Object object;

    public Message() {
    }

    public Message(int status, String result) {
        this.status = status;
        this.result = result;
    }

    public Message(int status, String result, Object object) {
        this.status = status;
        this.result = result;
        this.object = object;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}
